package org.example.cdpcrpbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.cdpcrpbackend.controller.dto.CrpItem1;
import org.example.cdpcrpbackend.domain.CrpItem;

import java.util.List;

public interface CrpItemMapper extends BaseMapper<CrpItem> {
    CrpItem1 getItemAndModById(String id);

    List<CrpItem1> listByCondition(@Param("mid") String mid, @Param("key") String key);
}
